package com.ghck.shop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import com.ghck.shop.dao.provider.HotCategoryMapperProvider;
import com.ghck.shop.model.Category;
import com.ghck.shop.model.HotCategory;

public interface HotCategoryMapper {

	@Select("select * from t_hot_category where status=1")
	public List<HotCategory> listAllHotCategorys();
	
	@SelectProvider(type=HotCategoryMapperProvider.class,method="findCategoryByIds")
	public List<Category> findCategoryByIds(List<Integer> list);
}

